<? foreach ($user_info as $UI){ ?>
<div class="page_heading_text">My settings</div>
<div class="clear"></div> <div class="clear" style="margin-bottom:20px;"></div>
<!-- Start Book Package -->  
<div class="my_account_area_main">
  <span style="font-weight:bold; font-size:24px;"><?=$UI->fullname ?></span> Member since <?=mysqldatetime_to_date($UI->created) ?>
</div>
		 
<div class="my_account_area_main">
	<div class="my_account_top_border"></div>
	<div class="my_account_menu_top_border">
		<?php include ("includes/my-account-menubar.php");?>
	</div>
	<div class="profile_main_div">
		<div class="dv1">
			<div class="handler"><label style="margin-right:38px;">My settings</label></div>
			<div class="myaccount_register_login">
				<?=form_open('', array('autocomplete' => 'off', 'id' => 'settings', 'name' => 'settings'))?>
				<div>
					<fieldset class="user-login-account">
						<div id="#" class="form-item">
							<?=form_label('Old password:<span title="This field is required." class="form-required">*</span>', 'edit-name'); ?>
		                    <?=form_input(array('type' => 'password', 'name' => 'oldPass', 'id' => 'oldPass', 'class' => 'login_text_field'))?>
		                    <?=form_error('oldPass')?>
						</div>
						<div id="#" class="form-item">
							<?=form_label('New password:<span title="This field is required." class="form-required">*</span>', 'edit-name'); ?>
		                    <?=form_input(array('type' => 'password', 'name' => 'newPass', 'id' => 'newPass', 'class' => 'login_text_field'))?>
		                    <?=form_error('newPass')?>
						</div>
						<div id="#" class="form-item">
							<?=form_label('Confirm password:<span title="This field is required." class="form-required">*</span>', 'edit-name'); ?>
		                    <?=form_input(array('type' => 'password', 'name' => 'confirmPass', 'id' => 'confirmPass', 'class' => 'login_text_field'))?>
		                    <?=form_error('confirmPass')?>
						</div>
						<div id="#" class="save_btn_area">
							<?= form_submit(array('name' => 'settingSubmit', 'id' => 'settingSubmit', 'value' => '', "class"=>"save_button")) ?>
						</div>
					</fieldset>
				</div>
				<? form_close(); ?>
			</div>
		</div>
	</div>
	<div class="clear"></div>                   
</div> 
<div class="clear"></div> 
<div class="clear" style="margin-bottom:20px;"></div> 
<? } ?>